﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using EditorialProyectos.Business;
using EditorialProyectos.Business.Entities;

using Whoever.Framework.Base;
using Whoever.Framework.Attributes;

namespace EditorialProyectos.Website.Models
{
    public class ProjectViewModel : ViewModel<Project>
    {
        [Required]
        [SelectableRelationship(ManagerType = typeof(CategoryManager))]
        public IEnumerable<Category> CategoryList { get; set; }

        public BenefitViewModel BenefitViewModel { get; set; }

    }
}